using Light;
using UnityEngine;

namespace Dream.FirstLevel
{
    public class TeachPanelController : MonoBehaviour
    {
        [SerializeField] private AudioClip clip;

        private void Awake()
        {
            // Time.timeScale = 0f;
        }


        public void CloseThisPanelAndStartTime()
        {
            Time.timeScale = 1f;
            gameObject.SetActive(false);
            AudioManager.Instance.setBGM(clip);
        }
    }
}